<!doctype html>
<html lang="en" class="dark font-sans antialiased">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <link href="/component.css" rel="stylesheet" />
    <script src="/component.js" defer></script>
  </head>
  <body class="p-6">
    <form
      action="#"
      class="mx-auto max-w-md space-y-4 rounded-lg border border-gray-300 bg-gray-100 p-6 dark:border-gray-600 dark:bg-gray-800"
    >
      <div>
        <label class="block text-sm font-medium text-gray-900 dark:text-white" for="name">
          Name
        </label>

        <input
          class="mt-1 w-full rounded-lg border-gray-300 focus:border-indigo-500 focus:outline-none dark:border-gray-600 dark:bg-gray-900 dark:text-white"
          id="name"
          type="text"
          placeholder="Your name"
        />
      </div>

      <div>
        <label class="block text-sm font-medium text-gray-900 dark:text-white" for="email">
          Email
        </label>

        <input
          class="mt-1 w-full rounded-lg border-gray-300 focus:border-indigo-500 focus:outline-none dark:border-gray-600 dark:bg-gray-900 dark:text-white"
          id="email"
          type="email"
          placeholder="Your email"
        />
      </div>

      <fieldset>
        <legend class="block text-sm font-medium text-gray-900 dark:text-white">Inquiry</legend>

        <div class="mt-2 space-y-2">
          <div class="flex items-center gap-2">
            <input
              class="size-5 rounded border-gray-300 text-indigo-600 focus:ring-indigo-500 dark:border-gray-600 dark:bg-gray-900 dark:text-white"
              id="general-inquiry"
              type="checkbox"
              name="inquiry-type"
              value="general-inquiry"
            />

            <label class="block text-sm text-gray-900 dark:text-white" for="general-inquiry">
              General Inquiry
            </label>
          </div>

          <div class="flex items-center gap-2">
            <input
              class="size-5 rounded border-gray-300 text-indigo-600 focus:ring-indigo-500 dark:border-gray-600 dark:bg-gray-900 dark:text-white"
              id="support"
              type="checkbox"
              name="inquiry-type"
              value="support"
            />

            <label class="block text-sm text-gray-900 dark:text-white" for="support">Support</label>
          </div>

          <div class="flex items-center gap-2">
            <input
              class="size-5 rounded border-gray-300 text-indigo-600 focus:ring-indigo-500 dark:border-gray-600 dark:bg-gray-900 dark:text-white"
              id="feedback"
              type="checkbox"
              name="inquiry-type"
              value="feedback"
            />

            <label class="block text-sm text-gray-900 dark:text-white" for="feedback"
              >Feedback</label
            >
          </div>

          <div class="flex items-center gap-2">
            <input
              class="size-5 rounded border-gray-300 text-indigo-600 focus:ring-indigo-500 dark:border-gray-600 dark:bg-gray-900 dark:text-white"
              id="other"
              type="checkbox"
              name="inquiry-type"
              value="other"
            />

            <label class="block text-sm text-gray-900 dark:text-white" for="other">Other</label>
          </div>
        </div>
      </fieldset>

      <div>
        <label class="block text-sm font-medium text-gray-900 dark:text-white" for="message">
          Message
        </label>

        <textarea
          class="mt-1 w-full resize-none rounded-lg border-gray-300 focus:border-indigo-500 focus:outline-none dark:border-gray-600 dark:bg-gray-900 dark:text-white"
          id="message"
          rows="4"
          placeholder="Your message"
        ></textarea>
      </div>

      <button
        class="block w-full rounded-lg border border-indigo-600 bg-indigo-600 px-12 py-3 text-sm font-medium text-white transition-colors hover:bg-transparent hover:text-indigo-600 dark:hover:bg-indigo-700 dark:hover:text-white"
        type="submit"
      >
        Send Message
      </button>
    </form>
  </body>
</html>
